package com.example;


import com.example.config.SpringBeanConfiguration;
import com.example.service.ProviderFeign;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableFeignClients(basePackages = {"com.example.service"},clients = ProviderFeign.class)
@LoadBalancerClients(defaultConfiguration = {SpringBeanConfiguration.class})
@MapperScan(basePackages = "com.example")
@EnableScheduling
@EnableAsync
public class Consume4000Application {

    public static void main(String[] args) {
        SpringApplication.run(Consume4000Application.class, args);
    }
}
